package com.xxy.mybatispluspro.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "projects")
public class Project {
    @TableId(type = IdType.AUTO)
    Integer id;
    String name;
    @TableField(value = "personId")
    Integer personId;
    String organization;
    Long created;
    boolean pin;
}
